/*
 * @Author: WDongGua DONGQI02@outlook.com
 * @Date: 2023-06-14 13:40:13
 * @LastEditors: WDongGua DONGQI02@outlook.com
 * @LastEditTime: 2023-06-14 13:42:41
 * @FilePath: \纪检后台\src\api\academic.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'

//新增学院
export function addxueyuan(data) {
    return request({
        url: 'admin/xueyuan/addxueyuan',
        method: 'post',
        data
    })
}

//删除学院
export function deletexueyuan(data) {
    return request({
        url: 'admin/xueyuan/deletexueyuan',
        method: 'post',
        data
    })
}

//新增学院
export function updataxueyuan(data) {
    return request({
        url: 'admin/xueyuan/updataxueyuan',
        method: 'post',
        data
    })
}

//返回所有学院
export function allxueyuan(data) {
    return request({
        url: 'admin/xueyuan/allxueyuan',
        method: 'post',
        data
    })
}